<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/4/27 13:55
 * +----------------------------------------------------------------------
 */

namespace app\mall\enum;


class OrderUserOpsEnum extends Base
{

    public const CANCEL = 'cancel';
    public const COMPLETE = 'complete';
    public const EVALUATE = 'evaluate';
    public const REFUND = 'refund';

    public static function toZhArray(): array
    {
        return [
            self::CANCEL => '取消订单',
            self::COMPLETE => '完成订单',
            self::EVALUATE => '评价订单',
            self::REFUND => '申请退款',
        ];
    }

}